The Dreamweaver JavaScript API > Enablers > dreamweaver.canDeleteSelection()

 

dreamweaver.canDeleteSelection()

Availability

Dreamweaver 3.0

Description

Checks whether Dreamweaver can delete the current selection. Depending on the window that has focus, the deletion may occur in the Document window or the Site window; or, on the Macintosh, in an edit field in a dialog box or floating panel.

Arguments

None.

Returns

A Boolean value indicating whether the selection is a range (that is, not an insertion point).